package com.xmy.cultivate.mapper;

import com.xmy.cultivate.entity.StudentSignIn;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 刷脸签到 Mapper 接口
 * </p>
 *
 * @author min
 * @since 2023-01-04
 */
public interface StudentSignInMapper extends BaseMapper<StudentSignIn> {


    @Select("select * from student_sign_in where student_id = ${studentId} and scheduling_detail_id = ${schedulingDetailId}")
    public StudentSignIn getSiginOneForSchedulingDetailId(@Param("studentId")Long studentId ,@Param("schedulingDetailId") Long schedulingDetailId);
}
